home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
ds40bpds.zip
/
COMPRESS.ZIP
/
COMPRESS.DOC
< prev
next >
Wrap
Text File
|
1991-02-24
|
2KB
|
38 lines
High Score File Packer
For use with Door Source 3.2
Copyrighted 1991
Written by Todd Miller
Introduction
============
With the HighScores routine in Door Source 3.2, you are able
maintain a very comprehensive score database which is easy to use
and quick. However, until now, there has been no way to compress and
delete the players that no longer play but are still in the score
database. Using the routine in this package, you will be able to
easily and quickly compress the high score file.
Routines
========
Name : CompressHighScores
CALL CompressHighScores(HighScoreFile$,21)
CompressHighScores is a routine to compress the high score file
listed. Call this routine from your maintaince program to compress
the file. Make sure that only ONE node does this at a time!
If several attempt it at the same time, then serious problems
will occur. The first parameter is the filename for the high
score file, the second is how many days of inactivity for a
person's score you want for it to be deleted. For example, if
you say 21 days, then any score which hasnt been updated within
the last 21 days or more (22 days, 35 days, ect,...) then that
score will be purged from the file.
▓▒░ End of COMPRESS documentation ░▒▓